package com.lianzai.mobile.dao;

import com.lianzai.mobile.domain.WxUserDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 用户微信信息表
 * @author zb
 * @email 1106900429@qq.com
 * @date 2018-10-30 16:01:50
 */
@Mapper
public interface WxUserDao {

	WxUserDO get(Long id);

	WxUserDO getByOpenId(String openId);
	
	List<WxUserDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(WxUserDO wxUser);
	
	int update(WxUserDO wxUser);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
